//
//  TradeMainView.h
//  bitcoin
//
//  Created by  旺链 on 2018/5/31.
//  Copyright © 2018年 比特币. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HWDownSelectedView.h"

@interface TradeMainView : UIView

@property(strong,nonatomic)UIButton *selectBtn;
@property (weak, nonatomic) IBOutlet UIButton *buyInBtn;
@property (weak, nonatomic) IBOutlet UIButton *soldOutBtn;

@property (strong,nonatomic) NSDictionary *assetsData;

@property (nonatomic,strong)NSString *currencyRelation;
@property (nonatomic,strong)NSString *payCurrency;
@property (nonatomic,strong)NSString *tradeCurrency;

//精度
@property(nonatomic,strong)NSDictionary *precisionDic;
//支付币id
@property (strong,nonatomic) NSString *bId;

@property (strong,nonatomic) NSArray *listArr;

@property (weak, nonatomic) IBOutlet UITableView *table;
@property (weak, nonatomic) IBOutlet UIButton *loginOrBuyBtn;
@property (weak, nonatomic) IBOutlet UIButton *allOrderBtn;

@property (weak, nonatomic) IBOutlet UIView *changeView;
@property (weak, nonatomic) IBOutlet HWDownSelectedView *chooseView;


@property(copy,nonatomic)void(^loginOrBuy)(NSDictionary *);
@property(copy,nonatomic)void(^allOrder)(void);

@end
